﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotelManageSystem.Domain;
using HotelManageSystem.Domain.Entities;
using HotelManageSystem.Domain.Infrastructure;

namespace HotelManageSystem.DAL.Repositories
{
    public class PostRepository : Repository<Post>, IPostRepository
    {
        //这里的构造参数databaseFactory是为了提供一个DbContext对象给Repository来操作数据库.
        public PostRepository(IDatabaseFactory databaseFactory)
            : base(databaseFactory)
        {

        }
    }
}
